package cvi.com.reader.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 梅涛 on 2020/7/24.
 * <p>
 * 热门作品、随机朗读、搜索页面共用一个实体接收类。
 */

public class HotBean implements Serializable {

    /**
     * code : 1
     * rows : [{"id":46,"material_category_id":16,"material_name":"冬","material_name_pinyin":"d","author":"朱学坤","author_pinyin":"zxk","type":"0","cover_img":"/uploads/material/thumbnail/46.jpg","lt_img":"","rb_img":"","bg_img":"/uploads/material/cover/builtin/16/bg.png","font_color":"0","center":"0","content":"<p><span >携着春风之情思，夏雨之气势，秋叶之精神，冬，又来了。<\/span><span ><br><\/span><span >冬赋予它们以自己的品性，于是，风凛冽了，雪飘舞了，土地冰冻了<\/span><\/p><p><span >水瘦山寒，天高地远，大自然一片清雅素淡<\/span><span >;<\/span><span ><br><\/span><span >刚劲的寒风好像一把大扫帚，把那些作恶多端的蝇蚊毒虫一扫而光，把那些孳生罪恶的稗草毒藤处以极刑；浊水缩小了身体，垃圾收敛了恶臭；<\/span><span ><br><\/span><span >接着，那翩然而至的大大小小的雪花，又把大地银装素裹，装扮得一片莹白；<\/span><span ><br><\/span><span >不下雪时，那渺茫茫的天空悬挂着清凛凛的高远，空旷旷的大地袒露着黄澄澄的真诚。<\/span><\/p>","media_path":"","status":"normal","click_times":520,"read_times":159,"words_count":211,"is_collected":0},{"id":47,"material_category_id":16,"material_name":"初冬月","material_name_pinyin":"cdy","author":"陈国华","author_pinyin":"cgh","type":"0","cover_img":"/uploads/material/thumbnail/47.jpg","lt_img":"","rb_img":"","bg_img":"/uploads/material/cover/builtin/16/bg.png","font_color":"0","center":"0","content":"<p><span >独自徜徉在月色里，白天必须思虑萦怀甚至忧戚的，此刻全忘了，而白天无暇顾及甚至早已忘却了的，有的却会清晰的想起来。如此美丽的月光，会使心灵深处的珍藏开出花朵，连痛楚也会变得美丽。但这月色更多的是使我无所虑无所思，身心放松，呼吸都变得轻微均匀，不易觉察。我像一条游到清水里\u201c偷清\u201d的鱼，浮在月光里，吮月华，汲清辉，或停泊或徘徊，如醉如痴。<\/span><br><\/p>","media_path":"","status":"normal","click_times":147,"read_times":71,"words_count":167,"is_collected":0}]
     */

    private int code;
    private List<RowsBean> rows;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 46
         * material_category_id : 16
         * material_name : 冬
         * material_name_pinyin : d
         * author : 朱学坤
         * author_pinyin : zxk
         * type : 0
         * cover_img : /uploads/material/thumbnail/46.jpg
         * lt_img :
         * rb_img :
         * bg_img : /uploads/material/cover/builtin/16/bg.png
         * font_color : 0
         * center : 0
         * content : <p><span >携着春风之情思，夏雨之气势，秋叶之精神，冬，又来了。</span><span ><br></span><span >冬赋予它们以自己的品性，于是，风凛冽了，雪飘舞了，土地冰冻了</span></p><p><span >水瘦山寒，天高地远，大自然一片清雅素淡</span><span >;</span><span ><br></span><span >刚劲的寒风好像一把大扫帚，把那些作恶多端的蝇蚊毒虫一扫而光，把那些孳生罪恶的稗草毒藤处以极刑；浊水缩小了身体，垃圾收敛了恶臭；</span><span ><br></span><span >接着，那翩然而至的大大小小的雪花，又把大地银装素裹，装扮得一片莹白；</span><span ><br></span><span >不下雪时，那渺茫茫的天空悬挂着清凛凛的高远，空旷旷的大地袒露着黄澄澄的真诚。</span></p>
         * media_path :
         * status : normal
         * click_times : 520
         * read_times : 159
         * words_count : 211
         * is_collected : 0
         */
        private String englishOrNo;//是否是英文 1 英语  2 非英语

        public String getEnglishOrNo() {
            return englishOrNo;
        }

        public void setEnglishOrNo(String englishOrNo) {
            this.englishOrNo = englishOrNo;
        }

        private int id;
        private int material_category_id;
        private String material_name;
        private String material_name_pinyin;
        private String author;
        private String author_pinyin;
        private String type;
        private String cover_img;
        private String lt_img;
        private String rb_img;
        private String bg_img;
        private String font_color;
        private String center;
        private String content;
        private String media_path;
        private String status;
        private int click_times;
        private int read_times;
        private int words_count;
        private int is_collected;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMaterial_category_id() {
            return material_category_id;
        }

        public void setMaterial_category_id(int material_category_id) {
            this.material_category_id = material_category_id;
        }

        public String getMaterial_name() {
            return material_name;
        }

        public void setMaterial_name(String material_name) {
            this.material_name = material_name;
        }

        public String getMaterial_name_pinyin() {
            return material_name_pinyin;
        }

        public void setMaterial_name_pinyin(String material_name_pinyin) {
            this.material_name_pinyin = material_name_pinyin;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getAuthor_pinyin() {
            return author_pinyin;
        }

        public void setAuthor_pinyin(String author_pinyin) {
            this.author_pinyin = author_pinyin;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getCover_img() {
            return cover_img;
        }

        public void setCover_img(String cover_img) {
            this.cover_img = cover_img;
        }

        public String getLt_img() {
            return lt_img;
        }

        public void setLt_img(String lt_img) {
            this.lt_img = lt_img;
        }

        public String getRb_img() {
            return rb_img;
        }

        public void setRb_img(String rb_img) {
            this.rb_img = rb_img;
        }

        public String getBg_img() {
            return bg_img;
        }

        public void setBg_img(String bg_img) {
            this.bg_img = bg_img;
        }

        public String getFont_color() {
            return font_color;
        }

        public void setFont_color(String font_color) {
            this.font_color = font_color;
        }

        public String getCenter() {
            return center;
        }

        public void setCenter(String center) {
            this.center = center;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getMedia_path() {
            return media_path;
        }

        public void setMedia_path(String media_path) {
            this.media_path = media_path;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getClick_times() {
            return click_times;
        }

        public void setClick_times(int click_times) {
            this.click_times = click_times;
        }

        public int getRead_times() {
            return read_times;
        }

        public void setRead_times(int read_times) {
            this.read_times = read_times;
        }

        public int getWords_count() {
            return words_count;
        }

        public void setWords_count(int words_count) {
            this.words_count = words_count;
        }

        public int getIs_collected() {
            return is_collected;
        }

        public void setIs_collected(int is_collected) {
            this.is_collected = is_collected;
        }
    }
}
